<template>
  <view class="page bg-c3">
    <view class="container bg-c1">
      <view class="corner"></view>
      <view class="title">
        速付宝扫一扫，
        <text class="c3">阿币</text>
        向我付钱
      </view>
      <image class ="ewm" src="../../../static/images/home/ewm.png"></image>
      <view class="group">
        <text class="text1 fs32">设置金额</text>
        <text class="text2 fs32">保存图片</text>
      </view>
      <view class="record">
        <image class="record-icon" src="../../../static/images/home/record-icon.png">
        </image>
        <text class="text1">收款记录</text>
        <text class="c7 grace-iconfont icon-arrow-right"></text>
      </view>
    </view>
    <view class="bottom-box">
      <text class="text1">收款码介绍</text>
      <text class="text2 c7 grace-iconfont icon-arrow-right"></text>
    </view>
  </view>
</template>
<script>
export default {};
</script>

<style lang="scss" scoped>
@import "../../../styles/global/index";
.page {
  position: absolute;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.container {
  position: relative;
  height: 870upx;
  width: 620upx;
  margin: 80upx auto 30upx auto;
  text-align: center;
  border-radius: 4upx;

  .corner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 240upx;
    height: 20upx;
    background: #2081ce;
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0;
      height: 0;
      border-bottom: 30upx solid #fff;
      border-right: 30upx solid transparent;
    }
    &::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 0;
      height: 0;
      border-bottom: 30upx solid #fff;
      border-left: 30upx solid transparent;
    }
  }
  .title {
    padding-top: 80upx;
  }
  .ewm {
    @include size(390upx, 390upx);
    padding-top: 60upx;
  }
  .group {
    margin-top: 8upx;
    text {
      display: inline-block;
      height: 30upx;
      line-height: 30upx;
      color: #007bc3;
    }
    .text1 {
      border-right: 1px solid #ddd;
      padding: 0 64upx;
    }
    .text2 {
      padding: 0 70upx;
    }
  }
  .record {
    height: 120upx;
    line-height: 120upx;
    border-top: 1px solid #eee;
    margin: 80upx 40upx 0 40upx;
    padding-right: 80upx;
    @include flex-bw;
    .text1{
        padding-right: 220upx;
    }
    .record-icon{
        @include size(40upx,40upx);
        padding-left:10upx;
    }
  }
}
.bottom-box {
  @include size(620upx, 80upx);
  background: #fff;
  margin: 0 auto;
  border-radius: 4upx;
  @include flex-bw;
  .text1 {
    padding-left: 70upx;
  }
  .text2 {
    padding-right: 120upx;
  }
}
</style>